package com.ruoyi.wallet.api.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.web.oldDomain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * erp用户钱包对象 erp_seller_store_wallet
 *
 * @author erp
 * @date 2023-05-09
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ErpSellerStoreWallet extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * erp用户钱包
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 卖家id
     */
    private String sellerId;
    /**
     * 余额
     */
    private BigDecimal money;
    /**
     * 冻结
     */
    private BigDecimal freeze;
    /**
     * 乐观锁
     */
    private String revision;

}
